# 从键盘输入一个字符序列，统计，大写字母，小写字母，数字，其它字符各出现次数，将次数保存到字典中。
# list=[]   list[0]
from 测吧.src.week1.day5.character_statistics import *
def test_character_statistics():
    assert character_statistics("Ab-1") == {'capital_letter': 1, 'small_letter': 1, 'number': 1, 'other': 1}
    assert character_statistics("Hello,boby2") == {'capital_letter': 1, 'small_letter': 8, 'number': 1, 'other': 1}
test_character_statistics()
